package me.sealer.model;

/**
 * Created by sealer on 10-31-2017.
 */
public class LocationResult {
    private int code;//状态码
    private Location data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public Location getData() {
        return data;
    }

    public void setData(Location data) {
        this.data = data;
    }

    public LocationResult() {
    }

    public LocationResult(int code, Location data) {
        this.code = code;
        this.data = data;
    }

    @Override
    public String toString() {
        return "LocationResult{" +
                "code='" + code + '\'' +
                ", data=" + data +
                '}';
    }
}
